<?php
namespace App\Http\Controllers\Common;

use App\Http\Controllers\Controller;
use App\Http\Service\QiniuService;

class QiniuController extends Controller{

    public function gettoken(QiniuService $service)
    {
        $token = $service->getToken();

        echo json_encode(["uptoken" => $token]);exit;
    }

}